package cn.zpfhomework02;

public class AnimalTest {
    public static void main(String[] args) {
    Rabbit r=new Rabbit("兔子","吃萝卜");
    r.getInfo();
    Tiger t=new Tiger("老虎","吃肉");
    t.getInfo();
}

}
